/*
Copyright (C) 2009-2010 Xanadu Development Team

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

#pragma once

#include <vector>
using namespace std;

class CharacterEquip;

class Character {
public:
	void setID(int id) {
		this->id = id;
	}
	int getID() {
		return id;
	}
	void setName(string name) {
		this->name = name;
	}
	string getName() {
		return this->name;
	}
	void setGender(char g) {
		this->gender = g;
	}
	char getGender() {
		return this->gender;
	}
	void setSkin(char id) {
		this->skin = id;
	}
	char getSkin() {
		return this->skin;
	}
	void setFace(int id) {
		this->face = id;
	}
	int getFace() {
		return this->face;
	}
	void setHair(int id) {
		this->hair = id;
	}
	int getHair() {
		return this->hair;
	}
	void setLevel(unsigned char level) {
		this->level = level;
	}
	unsigned char getLevel() {
		return this->level;
	}
	void setJob(short job) {
		this->job = job;
	}
	short getJob() {
		return this->job;
	}
	void setStr(short str) {
		this->str = str;
	}
	short getStr() {
		return this->str;
	}
	void setDex(short dex) {
		this->dex = dex;
	}
	short getDex() {
		return this->dex;
	}
	void setInt(short intt) {
		this->intt = intt;
	}
	short getInt() {
		return this->intt;
	}
	void setLuk(short luk) {
		this->luk=luk;
	}
	short getLuk() {
		return this->luk;
	}
	void setHp(int hp){
		this->hp=hp;
	}
	int getHp(){
		return this->hp;
	}
	void setMHp(int mhp){
		this->mhp=mhp;
	}
	int getMHp(){
		return this->mhp;
	}
	void setMp(int mp){
		this->mp=mp;
	}
	int getMp(){
		return this->mp;
	}
	void setMMp(int mmp){
		this->mmp=mmp;
	}
	int getMMp(){
		return this->mmp;
	}
	void setRemainingSp(short rsp){
		this->remainingsp = rsp;
	}
	short getRemainingSp(){
		return this->remainingsp;
	}
	void setRemainingAp(int rap){
		this->remainingap=rap;
	}
	short getRemainingAp(){
		return this->remainingap;
	}
	void setExp(int exp){
		this->exp=exp;
	}
	int getExp(){
		return this->exp;
	}
	void setMapId(int mapid){
		this->mapid=mapid;
	}
	int getMapId(){
		return this->mapid;
	}
	void setFame(short fame) {
		this->fame = fame;
	}
	short getFame() {
		return this->fame;
	}
	vector <CharacterEquip*>* getEquips() {
		return &equips;
	}
	void setWorld(int world) {
		this->world = world;
	}
	int getWorld() {
		return world;
	}
	~Character();
	void addEquip(CharacterEquip* equip) {
		equips.push_back(equip);
	}
private:
	int id;
	string name;
	char gender;
	char skin;
	int face;
	int hair;	
	unsigned char level;
	short job;
	short str;
	short dex;
	short intt;
	short luk;
	int hp;
	int mhp;
	int mp;
	int mmp;
	short remainingap;
	short remainingsp;
	int exp;
	int mapid;
	short fame;
	int world;
	vector <CharacterEquip*> equips;
};
